import request from "@/utils/request";

//获取课程列表
export function GetCourseList_Page(data) {
  return request({
    url: "api/Course/GetCourseList_Page",
    method: "post",
    data,
  });
}

export function AddCourse(data) {
  return request({
    url: "api/Course/AddCourse",
    method: "post",
    data,
  });
}

export function EditCourse(data) {
  return request({
    url: "api/Course/EditCourse",
    method: "post",
    data,
  });
}

export function DelCourse(data) {
  return request({
    url: "api/Course/DelCourse",
    method: "post",
    data,
  });
}

export function GetCourseDetail(data) {
  return request({
    url: "api/Course/GetCourseDetail",
    method: "post",
    data,
  });
}

export function CourseBindTeacher(data) {
  return request({
    url: "api/Course/CourseBindTeacher",
    method: "post",
    data,
  });
}

export function CourseBindDevice(data) {
  return request({
    url: "api/Course/CourseBindDevice",
    method: "post",
    data,
  });
}
